// ******************************************************************************
// Copyright     :  Copyright (C) 2018, Hisilicon Technologies Co. Ltd.
// File name     :  jpg_sub_ctrl_c_union_define.h
// Project line  :
// Department    :  K3
// Version       :  1.0
// Date          :  2013/5/31
// Description   :  The description of xxx project
// Others        :  Generated automatically by nManager V4.2
// History       :  2018/03/16 17:38:29 Create file
// ******************************************************************************

#ifndef __JPG_SUB_CTRL_C_UNION_DEFINE_H__
#define __JPG_SUB_CTRL_C_UNION_DEFINE_H__

/* Define the union U_JPGENC_CRG_CFG0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_0        : 31  ; /* [31:1] */
        unsigned int    jpgenc_clken : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_CRG_CFG0;

/* Define the union U_JPGENC_CRG_CFG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_1           : 31  ; /* [31:1] */
        unsigned int    jpgenc_soft_rst : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_CRG_CFG1;

/* Define the union U_JPGENC_MEM_CFG */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgenc_mem_ctrl : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_MEM_CFG;

/* Define the union U_JPGENC_IRQ_REG0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_2            : 11  ; /* [31:21] */
        unsigned int    jpgenc_irq_force : 5  ; /* [20:16] */
        unsigned int    rsv_3            : 11  ; /* [15:5] */
        unsigned int    jpgenc_irq_clr   : 5  ; /* [4:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_IRQ_REG0;

/* Define the union U_JPGENC_IRQ_REG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_4           : 16  ; /* [31:16] */
        unsigned int    rsv_5           : 11  ; /* [15:5] */
        unsigned int    jpgenc_irq_mask : 5  ; /* [4:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_IRQ_REG1;

/* Define the union U_JPGENC_IRQ_REG2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_6                 : 11  ; /* [31:21] */
        unsigned int    jpgenc_irq_state_raw  : 5  ; /* [20:16] */
        unsigned int    rsv_7                 : 11  ; /* [15:5] */
        unsigned int    jpgenc_irq_state_mask : 5  ; /* [4:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_IRQ_REG2;

/* Define the union U_JPGENC_SHIM_AWADDR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgenc_shim_awaddr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_SHIM_AWADDR;

/* Define the union U_JPGENC_SHIM_ARADDR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgenc_shim_araddr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_SHIM_ARADDR;

/* Define the union U_JPGENC_SHIM_AWUSER_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgenc_shim_awuser_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_SHIM_AWUSER_L;

/* Define the union U_JPGENC_SHIM_AWUSER_M */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgenc_shim_awuser_m : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_SHIM_AWUSER_M;

/* Define the union U_JPGENC_SHIM_AWUSER_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgenc_shim_awuser_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_SHIM_AWUSER_H;

/* Define the union U_JPGENC_SHIM_ARUSER_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgenc_shim_aruser_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_SHIM_ARUSER_L;

/* Define the union U_JPGENC_SHIM_ARUSER_M */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgenc_shim_aruser_m : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_SHIM_ARUSER_M;

/* Define the union U_JPGENC_SHIM_ARUSER_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgenc_shim_aruser_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_SHIM_ARUSER_H;

/* Define the union U_JPGENC_SHIM_AWCACHE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_8               : 28  ; /* [31:4] */
        unsigned int    jpgenc_shim_awcache : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_SHIM_AWCACHE;

/* Define the union U_JPGENC_SHIM_ARCACHE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_9               : 28  ; /* [31:4] */
        unsigned int    jpgenc_shim_arcache : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_SHIM_ARCACHE;

/* Define the union U_JPGENC_SHIM_CTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgenc_shim_ctrl : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGENC_SHIM_CTRL;

/* Define the union U_JPGDEC_CRG_CFG0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_10       : 31  ; /* [31:1] */
        unsigned int    jpgdec_clken : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_CRG_CFG0;

/* Define the union U_JPGDEC_CRG_CFG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_11          : 31  ; /* [31:1] */
        unsigned int    jpgdec_soft_rst : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_CRG_CFG1;

/* Define the union U_JPGDEC_MEM_CFG0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgdec_mem_ctrl_sp : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_MEM_CFG0;

/* Define the union U_JPGDEC_MEM_CFG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_12             : 16  ; /* [31:16] */
        unsigned int    jpgdec_mem_ctrl_tp : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_MEM_CFG1;

/* Define the union U_JPGDEC_IRQ_REG0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_13           : 12  ; /* [31:20] */
        unsigned int    jpgdec_irq_force : 4  ; /* [19:16] */
        unsigned int    rsv_14           : 12  ; /* [15:4] */
        unsigned int    jpgdec_irq_clr   : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_IRQ_REG0;

/* Define the union U_JPGDEC_IRQ_REG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_15          : 16  ; /* [31:16] */
        unsigned int    rsv_16          : 12  ; /* [15:4] */
        unsigned int    jpgdec_irq_mask : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_IRQ_REG1;

/* Define the union U_JPGDEC_IRQ_REG2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_17                : 12  ; /* [31:20] */
        unsigned int    jpgdec_irq_state_raw  : 4  ; /* [19:16] */
        unsigned int    rsv_18                : 12  ; /* [15:4] */
        unsigned int    jpgdec_irq_state_mask : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_IRQ_REG2;

/* Define the union U_JPGDEC_SHIM_AWADDR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgdec_shim_awaddr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_SHIM_AWADDR;

/* Define the union U_JPGDEC_SHIM_ARADDR */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgdec_shim_araddr : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_SHIM_ARADDR;

/* Define the union U_JPGDEC_SHIM_AWUSER_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgdec_shim_awuser_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_SHIM_AWUSER_L;

/* Define the union U_JPGDEC_SHIM_AWUSER_M */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgdec_shim_awuser_m : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_SHIM_AWUSER_M;

/* Define the union U_JPGDEC_SHIM_AWUSER_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgdec_shim_awuser_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_SHIM_AWUSER_H;

/* Define the union U_JPGDEC_SHIM_ARUSER_L */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgdec_shim_aruser_l : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_SHIM_ARUSER_L;

/* Define the union U_JPGDEC_SHIM_ARUSER_M */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgdec_shim_aruser_m : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_SHIM_ARUSER_M;

/* Define the union U_JPGDEC_SHIM_ARUSER_H */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgdec_shim_aruser_h : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_SHIM_ARUSER_H;

/* Define the union U_JPGDEC_SHIM_AWCACHE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_19              : 28  ; /* [31:4] */
        unsigned int    jpgdec_shim_awcache : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_SHIM_AWCACHE;

/* Define the union U_JPGDEC_SHIM_ARCACHE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_20              : 28  ; /* [31:4] */
        unsigned int    jpgdec_shim_arcache : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_SHIM_ARCACHE;

/* Define the union U_JPGDEC_SHIM_CTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    jpgdec_shim_ctrl : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPGDEC_SHIM_CTRL;

/* Define the union U_TOP_AXI_CFG0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_21                           : 15  ; /* [31:17] */
        unsigned int    control_disable_axi_data_packing : 1  ; /* [16] */
        unsigned int    rsv_22                           : 12  ; /* [15:4] */
        unsigned int    jpg_top_apb_force_clk_on         : 1  ; /* [3] */
        unsigned int    jpg_dma_force_clk_on             : 1  ; /* [2] */
        unsigned int    rsv_23                           : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_TOP_AXI_CFG0;

/* Define the union U_CVDR_MEM_CFG */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    cvdr_mem_ctrl : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_CVDR_MEM_CFG;

/* Define the union U_CVDR_IRQ_REG0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_24         : 11  ; /* [31:21] */
        unsigned int    cvdr_irq_force : 5  ; /* [20:16] */
        unsigned int    rsv_25         : 11  ; /* [15:5] */
        unsigned int    cvdr_irq_clr   : 5  ; /* [4:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_CVDR_IRQ_REG0;

/* Define the union U_CVDR_IRQ_REG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_26        : 16  ; /* [31:16] */
        unsigned int    rsv_27        : 11  ; /* [15:5] */
        unsigned int    cvdr_irq_mask : 5  ; /* [4:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_CVDR_IRQ_REG1;

/* Define the union U_CVDR_IRQ_REG2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_28              : 11  ; /* [31:21] */
        unsigned int    cvdr_irq_state_raw  : 5  ; /* [20:16] */
        unsigned int    rsv_29              : 11  ; /* [15:5] */
        unsigned int    cvdr_irq_state_mask : 5  ; /* [4:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_CVDR_IRQ_REG2;

/* Define the union U_DMA_CRG_CFG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_30        : 31  ; /* [31:1] */
        unsigned int    cvdr_soft_rst : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_DMA_CRG_CFG1;

/* Define the union U_JPG_RO_STATE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_31          : 26  ; /* [31:6] */
        unsigned int    jpg_cvdr_busy   : 1  ; /* [5] */
        unsigned int    jpg_jpgdec_busy : 4  ; /* [4:1] */
        unsigned int    jpg_jpgenc_busy : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPG_RO_STATE;

/* Define the union U_JPG_DEBUG_0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    debug_info_0 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPG_DEBUG_0;

/* Define the union U_JPG_DEBUG_1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    debug_info_1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPG_DEBUG_1;

/* Define the union U_JPG_DEBUG_2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    debug_info_2 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPG_DEBUG_2;

/* Define the union U_JPG_DEBUG_3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    debug_info_3 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPG_DEBUG_3;

/* Define the union U_JPG_SEC_CTRL_S */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_32             : 26  ; /* [31:6] */
        unsigned int    jpgdec_tz_secure_n : 4  ; /* [5:2] */
        unsigned int    jpgenc_tz_secure_n : 1  ; /* [1] */
        unsigned int    top_tz_secure_n    : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_JPG_SEC_CTRL_S;


//==============================================================================
/* Define the global struct */
typedef struct
{
    volatile U_JPGENC_CRG_CFG0      JPGENC_CRG_CFG0         ; /* 100 */
    volatile U_JPGENC_CRG_CFG1      JPGENC_CRG_CFG1         ; /* 104 */
    volatile U_JPGENC_MEM_CFG       JPGENC_MEM_CFG          ; /* 108 */
    volatile U_JPGENC_IRQ_REG0      JPGENC_IRQ_REG0         ; /* 110 */
    volatile U_JPGENC_IRQ_REG1      JPGENC_IRQ_REG1         ; /* 114 */
    volatile U_JPGENC_IRQ_REG2      JPGENC_IRQ_REG2         ; /* 118 */
    volatile U_JPGENC_SHIM_AWADDR   JPGENC_SHIM_AWADDR      ; /* 11C */
    volatile U_JPGENC_SHIM_ARADDR   JPGENC_SHIM_ARADDR      ; /* 120 */
    volatile U_JPGENC_SHIM_AWUSER_L JPGENC_SHIM_AWUSER_L    ; /* 124 */
    volatile U_JPGENC_SHIM_AWUSER_M JPGENC_SHIM_AWUSER_M    ; /* 128 */
    volatile U_JPGENC_SHIM_AWUSER_H JPGENC_SHIM_AWUSER_H    ; /* 12C */
    volatile U_JPGENC_SHIM_ARUSER_L JPGENC_SHIM_ARUSER_L    ; /* 130 */
    volatile U_JPGENC_SHIM_ARUSER_M JPGENC_SHIM_ARUSER_M    ; /* 134 */
    volatile U_JPGENC_SHIM_ARUSER_H JPGENC_SHIM_ARUSER_H    ; /* 138 */
    volatile U_JPGENC_SHIM_AWCACHE  JPGENC_SHIM_AWCACHE     ; /* 13C */
    volatile U_JPGENC_SHIM_ARCACHE  JPGENC_SHIM_ARCACHE     ; /* 140 */
    volatile U_JPGENC_SHIM_CTRL     JPGENC_SHIM_CTRL        ; /* 144 */
    volatile U_JPGDEC_CRG_CFG0      JPGDEC_CRG_CFG0[2]      ; /* 200 */
    volatile U_JPGDEC_CRG_CFG1      JPGDEC_CRG_CFG1[2]      ; /* 204 */
    volatile U_JPGDEC_MEM_CFG0      JPGDEC_MEM_CFG0[2]      ; /* 208 */
    volatile U_JPGDEC_MEM_CFG1      JPGDEC_MEM_CFG1[2]      ; /* 20C */
    volatile U_JPGDEC_IRQ_REG0      JPGDEC_IRQ_REG0[2]      ; /* 210 */
    volatile U_JPGDEC_IRQ_REG1      JPGDEC_IRQ_REG1[2]      ; /* 214 */
    volatile U_JPGDEC_IRQ_REG2      JPGDEC_IRQ_REG2[2]      ; /* 218 */
    volatile U_JPGDEC_SHIM_AWADDR   JPGDEC_SHIM_AWADDR[2]   ; /* 21C */
    volatile U_JPGDEC_SHIM_ARADDR   JPGDEC_SHIM_ARADDR[2]   ; /* 220 */
    volatile U_JPGDEC_SHIM_AWUSER_L JPGDEC_SHIM_AWUSER_L[2] ; /* 224 */
    volatile U_JPGDEC_SHIM_AWUSER_M JPGDEC_SHIM_AWUSER_M[2] ; /* 228 */
    volatile U_JPGDEC_SHIM_AWUSER_H JPGDEC_SHIM_AWUSER_H[2] ; /* 22C */
    volatile U_JPGDEC_SHIM_ARUSER_L JPGDEC_SHIM_ARUSER_L[2] ; /* 230 */
    volatile U_JPGDEC_SHIM_ARUSER_M JPGDEC_SHIM_ARUSER_M[2] ; /* 234 */
    volatile U_JPGDEC_SHIM_ARUSER_H JPGDEC_SHIM_ARUSER_H[2] ; /* 238 */
    volatile U_JPGDEC_SHIM_AWCACHE  JPGDEC_SHIM_AWCACHE[2]  ; /* 23C */
    volatile U_JPGDEC_SHIM_ARCACHE  JPGDEC_SHIM_ARCACHE[2]  ; /* 240 */
    volatile U_JPGDEC_SHIM_CTRL     JPGDEC_SHIM_CTRL[2]     ; /* 244 */
    volatile U_TOP_AXI_CFG0         TOP_AXI_CFG0            ; /* 0 */
    volatile U_CVDR_MEM_CFG         CVDR_MEM_CFG            ; /* 40 */
    volatile U_CVDR_IRQ_REG0        CVDR_IRQ_REG0           ; /* 44 */
    volatile U_CVDR_IRQ_REG1        CVDR_IRQ_REG1           ; /* 48 */
    volatile U_CVDR_IRQ_REG2        CVDR_IRQ_REG2           ; /* 4C */
    volatile U_DMA_CRG_CFG1         DMA_CRG_CFG1            ; /* 50 */
    volatile U_JPG_RO_STATE         JPG_RO_STATE            ; /* 80 */
    volatile U_JPG_DEBUG_0          JPG_DEBUG_0             ; /* 400 */
    volatile U_JPG_DEBUG_1          JPG_DEBUG_1             ; /* 404 */
    volatile U_JPG_DEBUG_2          JPG_DEBUG_2             ; /* 408 */
    volatile U_JPG_DEBUG_3          JPG_DEBUG_3             ; /* 40C */
    volatile U_JPG_SEC_CTRL_S       JPG_SEC_CTRL_S          ; /* 800 */

} S_jpg_sub_ctrl_REGS_TYPE;

/* Declare the struct pointor of the module jpg_sub_ctrl */
extern volatile S_jpg_sub_ctrl_REGS_TYPE *gopjpg_sub_ctrlAllReg;

/* Declare the functions that set the member value */
int iSetJPGENC_CRG_CFG0_jpgenc_clken(unsigned int ujpgenc_clken);
int iSetJPGENC_CRG_CFG1_jpgenc_soft_rst(unsigned int ujpgenc_soft_rst);
int iSetJPGENC_MEM_CFG_jpgenc_mem_ctrl(unsigned int ujpgenc_mem_ctrl);
int iSetJPGENC_IRQ_REG0_jpgenc_irq_force(unsigned int ujpgenc_irq_force);
int iSetJPGENC_IRQ_REG0_jpgenc_irq_clr(unsigned int ujpgenc_irq_clr);
int iSetJPGENC_IRQ_REG1_jpgenc_irq_mask(unsigned int ujpgenc_irq_mask);
int iSetJPGENC_IRQ_REG2_jpgenc_irq_state_raw(unsigned int ujpgenc_irq_state_raw);
int iSetJPGENC_IRQ_REG2_jpgenc_irq_state_mask(unsigned int ujpgenc_irq_state_mask);
int iSetJPGENC_SHIM_AWADDR_jpgenc_shim_awaddr(unsigned int ujpgenc_shim_awaddr);
int iSetJPGENC_SHIM_ARADDR_jpgenc_shim_araddr(unsigned int ujpgenc_shim_araddr);
int iSetJPGENC_SHIM_AWUSER_L_jpgenc_shim_awuser_l(unsigned int ujpgenc_shim_awuser_l);
int iSetJPGENC_SHIM_AWUSER_M_jpgenc_shim_awuser_m(unsigned int ujpgenc_shim_awuser_m);
int iSetJPGENC_SHIM_AWUSER_H_jpgenc_shim_awuser_h(unsigned int ujpgenc_shim_awuser_h);
int iSetJPGENC_SHIM_ARUSER_L_jpgenc_shim_aruser_l(unsigned int ujpgenc_shim_aruser_l);
int iSetJPGENC_SHIM_ARUSER_M_jpgenc_shim_aruser_m(unsigned int ujpgenc_shim_aruser_m);
int iSetJPGENC_SHIM_ARUSER_H_jpgenc_shim_aruser_h(unsigned int ujpgenc_shim_aruser_h);
int iSetJPGENC_SHIM_AWCACHE_jpgenc_shim_awcache(unsigned int ujpgenc_shim_awcache);
int iSetJPGENC_SHIM_ARCACHE_jpgenc_shim_arcache(unsigned int ujpgenc_shim_arcache);
int iSetJPGENC_SHIM_CTRL_jpgenc_shim_ctrl(unsigned int ujpgenc_shim_ctrl);
int iSetJPGDEC_CRG_CFG0_jpgdec_clken(unsigned int ujpgdec_clken);
int iSetJPGDEC_CRG_CFG1_jpgdec_soft_rst(unsigned int ujpgdec_soft_rst);
int iSetJPGDEC_MEM_CFG0_jpgdec_mem_ctrl_sp(unsigned int ujpgdec_mem_ctrl_sp);
int iSetJPGDEC_MEM_CFG1_jpgdec_mem_ctrl_tp(unsigned int ujpgdec_mem_ctrl_tp);
int iSetJPGDEC_IRQ_REG0_jpgdec_irq_force(unsigned int ujpgdec_irq_force);
int iSetJPGDEC_IRQ_REG0_jpgdec_irq_clr(unsigned int ujpgdec_irq_clr);
int iSetJPGDEC_IRQ_REG1_jpgdec_irq_mask(unsigned int ujpgdec_irq_mask);
int iSetJPGDEC_IRQ_REG2_jpgdec_irq_state_raw(unsigned int ujpgdec_irq_state_raw);
int iSetJPGDEC_IRQ_REG2_jpgdec_irq_state_mask(unsigned int ujpgdec_irq_state_mask);
int iSetJPGDEC_SHIM_AWADDR_jpgdec_shim_awaddr(unsigned int ujpgdec_shim_awaddr);
int iSetJPGDEC_SHIM_ARADDR_jpgdec_shim_araddr(unsigned int ujpgdec_shim_araddr);
int iSetJPGDEC_SHIM_AWUSER_L_jpgdec_shim_awuser_l(unsigned int ujpgdec_shim_awuser_l);
int iSetJPGDEC_SHIM_AWUSER_M_jpgdec_shim_awuser_m(unsigned int ujpgdec_shim_awuser_m);
int iSetJPGDEC_SHIM_AWUSER_H_jpgdec_shim_awuser_h(unsigned int ujpgdec_shim_awuser_h);
int iSetJPGDEC_SHIM_ARUSER_L_jpgdec_shim_aruser_l(unsigned int ujpgdec_shim_aruser_l);
int iSetJPGDEC_SHIM_ARUSER_M_jpgdec_shim_aruser_m(unsigned int ujpgdec_shim_aruser_m);
int iSetJPGDEC_SHIM_ARUSER_H_jpgdec_shim_aruser_h(unsigned int ujpgdec_shim_aruser_h);
int iSetJPGDEC_SHIM_AWCACHE_jpgdec_shim_awcache(unsigned int ujpgdec_shim_awcache);
int iSetJPGDEC_SHIM_ARCACHE_jpgdec_shim_arcache(unsigned int ujpgdec_shim_arcache);
int iSetJPGDEC_SHIM_CTRL_jpgdec_shim_ctrl(unsigned int ujpgdec_shim_ctrl);
int iSetTOP_AXI_CFG0_control_disable_axi_data_packing(unsigned int ucontrol_disable_axi_data_packing);
int iSetTOP_AXI_CFG0_jpg_top_apb_force_clk_on(unsigned int ujpg_top_apb_force_clk_on);
int iSetTOP_AXI_CFG0_jpg_dma_force_clk_on(unsigned int ujpg_dma_force_clk_on);
int iSetCVDR_MEM_CFG_cvdr_mem_ctrl(unsigned int ucvdr_mem_ctrl);
int iSetCVDR_IRQ_REG0_cvdr_irq_force(unsigned int ucvdr_irq_force);
int iSetCVDR_IRQ_REG0_cvdr_irq_clr(unsigned int ucvdr_irq_clr);
int iSetCVDR_IRQ_REG1_cvdr_irq_mask(unsigned int ucvdr_irq_mask);
int iSetCVDR_IRQ_REG2_cvdr_irq_state_raw(unsigned int ucvdr_irq_state_raw);
int iSetCVDR_IRQ_REG2_cvdr_irq_state_mask(unsigned int ucvdr_irq_state_mask);
int iSetDMA_CRG_CFG1_cvdr_soft_rst(unsigned int ucvdr_soft_rst);
int iSetJPG_RO_STATE_jpg_cvdr_busy(unsigned int ujpg_cvdr_busy);
int iSetJPG_RO_STATE_jpg_jpgdec_busy(unsigned int ujpg_jpgdec_busy);
int iSetJPG_RO_STATE_jpg_jpgenc_busy(unsigned int ujpg_jpgenc_busy);
int iSetJPG_DEBUG_0_debug_info_0(unsigned int udebug_info_0);
int iSetJPG_DEBUG_1_debug_info_1(unsigned int udebug_info_1);
int iSetJPG_DEBUG_2_debug_info_2(unsigned int udebug_info_2);
int iSetJPG_DEBUG_3_debug_info_3(unsigned int udebug_info_3);
int iSetJPG_SEC_CTRL_S_jpgdec_tz_secure_n(unsigned int ujpgdec_tz_secure_n);
int iSetJPG_SEC_CTRL_S_jpgenc_tz_secure_n(unsigned int ujpgenc_tz_secure_n);
int iSetJPG_SEC_CTRL_S_top_tz_secure_n(unsigned int utop_tz_secure_n);

#endif // __JPG_SUB_CTRL_C_UNION_DEFINE_H__
